package request

import (
	"gitcode.com/G-YT/ANN/server/model/common/request"
	"gitcode.com/G-YT/ANN/server/model/hierarchy"
	"time"
)

type FdArticleLearnSearch struct {
	hierarchy.FdArticleLearn
	StartCreatedAt *time.Time `json:"startCreatedAt" form:"startCreatedAt"`
	EndCreatedAt   *time.Time `json:"endCreatedAt" form:"endCreatedAt"`
	request.PageInfo
}

type BuyArticleReq struct {
	HmID     uint   `json:"hm_id" gorm:"column:hmID;"`
	Articles []uint `json:"article_id" gorm:"column:article_id;"`
}
